﻿using System;

namespace WeWork.Model
{
    /// <summary>
    /// 会话内容存档 文件的 Model
    /// </summary>
    public class FileData
    {
        /// <summary>
        /// 消息类型
        /// </summary>
        public string MsgType { set; get; }
        /// <summary>
        /// 消息时间
        /// </summary>
        public DateTime MsgDate { set; get; }
        /// <summary>
        /// 文件名含后缀
        /// </summary>
        public string FileName { set; get; }
        /// <summary>
        /// 图片资源的md5值，供进行校验。String类型
        /// </summary>
        public string Md5Sum { set; get; }
        /// <summary>
        /// 媒体资源的id信息。String类型
        /// </summary>
        public string SdkFileId { set; get; }
        /// <summary>
        /// 文件内容byte
        /// </summary>
        public byte[] FileByte { set; get; }
    }
}
